<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ResultDTO</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.css">
<link href="../style.css" rel="stylesheet" />
</head>
<body onload="PR.prettyPrint()">
<pre class="prettyprint lang-java">
public class ResultDTO implements Serializable{

    private boolean success; //
    private AccidentStatisticVO[] data; //
    private int code; //
    private String message; //

    public boolean getSuccess(){
        return success;
    }

    public void setSuccess(boolean success){
        this.success = success;
    }

    public AccidentStatisticVO[] getData(){
        return data;
    }

    public void setData(AccidentStatisticVO[] data){
        this.data = data;
    }

    public int getCode(){
        return code;
    }

    public void setCode(int code){
        this.code = code;
    }

    public String getMessage(){
        return message;
    }

    public void setMessage(String message){
        this.message = message;
    }

}
</pre>


<pre class="prettyprint lang-java">
public class AccidentStatisticVO implements Serializable{

    private byte accidentType; //事故类型
    private byte accidentRank; //事故级别
    private String departmentName; //责任部门名称
    private int deathNum; //死亡人数
    private int seriousNum; //重伤人数
    private int slightNum; //轻伤人数
    private int missNum; //失踪人数

    public byte getAccidentType(){
        return accidentType;
    }

    public void setAccidentType(byte accidentType){
        this.accidentType = accidentType;
    }

    public byte getAccidentRank(){
        return accidentRank;
    }

    public void setAccidentRank(byte accidentRank){
        this.accidentRank = accidentRank;
    }

    public String getDepartmentName(){
        return departmentName;
    }

    public void setDepartmentName(String departmentName){
        this.departmentName = departmentName;
    }

    public int getDeathNum(){
        return deathNum;
    }

    public void setDeathNum(int deathNum){
        this.deathNum = deathNum;
    }

    public int getSeriousNum(){
        return seriousNum;
    }

    public void setSeriousNum(int seriousNum){
        this.seriousNum = seriousNum;
    }

    public int getSlightNum(){
        return slightNum;
    }

    public void setSlightNum(int slightNum){
        this.slightNum = slightNum;
    }

    public int getMissNum(){
        return missNum;
    }

    public void setMissNum(int missNum){
        this.missNum = missNum;
    }

}
</pre>



<script src="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.js"></script>
</body>
</html>